CFLAGS ?= -O2 -fstack-protector-all -fPIE
LDFLAGS ?= -Wl,-z,relro,-z,now,-z,noexecstack -pie -lcrypto

pk12_rsasign:
	gcc $(CFLAGS) pk12_rsasign.c -o pk12_rsasign $(LDFLAGS)

test:pk12_rsasign
	sh test.sh

clean:
	rm -f rsa* pk12_rsasign testfile*
